<?php
class AML_Form_LoginForm extends Zend_Form
{
    public function init()
    {
		// Add an username element
       $admin_username =  $this->addElement('text', 'admin_username', array(
            'label'      => 'Username: *',
            'required'   => true,
            'filters'    => array('StringTrim'),
			'class'      => 'login_inputbox',
            'validators' => array(
                array('validator' => 'StringLength', 'options' => array(0, 20))
                )
        ));
		// Add an password element                
       $admin_password =  $this->addElement('password', 'admin_password', array(
            'label'      => 'Password: *',
            'required'   => true,
            'filters'    => array('StringTrim'),
			'class'      => 'login_inputbox',
			'validators' => array(
                array('validator' => 'StringLength', 'options' => array(0, 20))
                )
        ));
		

		// Add the submit button
        $signin = $this->addElement('submit', 'submit', array(
            'ignore'   => true,
            'label'    => 'Login',
			'class'      => 'button',
        ));
		
				
    }
}